package com.wn.production.mapper;

import com.wn.entity.WorkOrder;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WorkOrderMapper {
    //新增工单
   void insert(WorkOrder workOrder);


    //多条件查询
    List<WorkOrder> getByCondition(WorkOrder workOrder);

    //查询全部
    List<WorkOrder> getAll();

    //状态修改与人员分配修改
    void update(WorkOrder workOrder);
}
